{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-03-28 22:50:18 +0100 (Fri, 28 Mar 2008) $
 * $Rev: 1068 $
 * $Author: gavinspearhead $
 * $Id: viewfiles.tpl 1068 2008-03-28 21:50:18Z gavinspearhead $
 *}
{include file="barehead.tpl" title=$title}

<div id="logindiv">
<!-- javascript enabled check -->
<noscript><div id="nojs">{$LN_login_jserror}</div></noscript>
<form method="post" action="" id="urd_login_form">
<div>
<input type="hidden" name="token" value="{$token}"/>
<input type="hidden" name="curr_language" value="{$curr_language}"/>
</div>
<table class="logintable">
<tr><td colspan="2"><h3>{$LN_login_title2} <a href="http://www.urdland.com">URD</a></h3></td></tr>
<tr><td></td><td><a href="forgot_password.php">{$LN_login_forgot_password}</a></td></tr>
{if $register eq 1}
<tr><td></td><td><a href="register.php">{$LN_login_register}</a></td></tr>
{/if}
<tr><td>{$LN_login_username}</td><td><input type="text" name="username"/></td></tr>
<tr><td>{$LN_login_password}</td><td><input type="password" name="pass"/></td></tr>
<tr><td colspan="2"></td></tr>
<tr><td>{$LN_login_remember}</td><td><select name="period">
<option value="0">{$LN_login_closebrowser}</option>
<option value="1">{$LN_login_oneweek}</option>
<option value="2">{$LN_login_onemonth}</option>
<option value="3">{$LN_login_oneyear}</option>
<option value="4">{$LN_login_forever}</option>
</select>
</td></tr>
<tr><td>{$LN_login_bindip}</td><td><input type="checkbox" name="ipaddr"/> {$ip_address}</td></tr>
<tr><td colspan="2"></td></tr>
<tr><td colspan="1"><input type="submit" value="{$LN_login_login}" class="submit"/></td>
<td>
<select name="language_name" id="language_select" onchange="javascript:submit_language_login();" >
{foreach from=$languages item=q key=k }
<option value="{$k}" {if $k == $curr_language} selected="selected" {/if}>{$q}</option>
{/foreach}
</select>
</td>
</tr>
</table>

</form>
</div>

{include file="barefoot.tpl"}
